package com.platform.hjt.flow.model;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * FlowFrom entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "flow_from")
public class FlowFrom implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 7862457864352309623L;
	private String flowFromId;
	private String flowFromName;
	private String flowFromPath;
	private String flowFromFile;
	private Boolean isDel;
	private Timestamp createTime;
	
	private String flowFromView;
	private String flowFromModel;
	private Boolean isDefault;

	// Constructors

	/** default constructor */
	public FlowFrom() {
	}

	/** minimal constructor */
	public FlowFrom(String flowFromId) {
		this.flowFromId = flowFromId;
	}

	/** full constructor */
	public FlowFrom(String flowFromId, String flowFromName,
			String flowFromPath, String flowFromFile, Boolean isDel,
			Timestamp createTime) {
		this.flowFromId = flowFromId;
		this.flowFromName = flowFromName;
		this.flowFromPath = flowFromPath;
		this.flowFromFile = flowFromFile;
		this.isDel = isDel;
		this.createTime = createTime;
	}

	// Property accessors
	@Id
	@GenericGenerator(name="systemUUID",strategy="uuid")
	@GeneratedValue(generator="systemUUID")
	@Column(name = "flow_from_id", unique = true, nullable = false, length = 32)
	public String getFlowFromId() {
		return this.flowFromId;
	}

	public void setFlowFromId(String flowFromId) {
		this.flowFromId = flowFromId;
	}

	@Column(name = "flow_from_name")
	public String getFlowFromName() {
		return this.flowFromName;
	}

	public void setFlowFromName(String flowFromName) {
		this.flowFromName = flowFromName;
	}

	@Column(name = "flow_from_path")
	public String getFlowFromPath() {
		return this.flowFromPath;
	}

	public void setFlowFromPath(String flowFromPath) {
		this.flowFromPath = flowFromPath;
	}

	@Column(name = "flow_from_file")
	public String getFlowFromFile() {
		return this.flowFromFile;
	}

	public void setFlowFromFile(String flowFromFile) {
		this.flowFromFile = flowFromFile;
	}

	@Column(name = "is_del")
	public Boolean getIsDel() {
		return this.isDel;
	}

	public void setIsDel(Boolean isDel) {
		this.isDel = isDel;
	}

	@Column(name = "create_time", length = 19)
	public Timestamp getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	@Column(name = "flow_from_view")
	public String getFlowFromView() {
		return flowFromView;
	}

	public void setFlowFromView(String flowFromView) {
		this.flowFromView = flowFromView;
	}

	@Column(name = "flow_from_model")
	public String getFlowFromModel() {
		return flowFromModel;
	}

	public void setFlowFromModel(String flowFromModel) {
		this.flowFromModel = flowFromModel;
	}

	@Column(name = "is_default")
	public Boolean getIsDefault() {
		return isDefault;
	}

	public void setIsDefault(Boolean isDefault) {
		this.isDefault = isDefault;
	}

}
